
package com.sm.shoplook.service.suit;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.suit.back.req.SuitCommentPageReqVo;
import com.sm.shoplook.vo.suit.back.resp.SuitCommentRespVo;

/**
 * @Author chenpy
 * @Date 2018/9/5 15:06
 * @Description 套装评论
 */
public interface SuitCommentService {

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 10:29
	 * @Description 套装列表
	 * @param suitCommentPageReqVo 参数对象
	 * @return
	 */
	ApiResult<PageInfo<SuitCommentRespVo>> selectSuitCommentListPage(SuitCommentPageReqVo suitCommentPageReqVo);

	/**
	 * @Author chenpy
	 * @Date 2018/8/18 11:27
	 * @Description 按ID查询
	 * @param id
	 * @return
	 */
	ApiResult<SuitCommentRespVo> selectSuitCommentById(Integer id);

	/**
	 * 批量删除
	 * @param ids
	 * @return
	 * @throws ApiException
	 */
	ApiResult<Integer> batchDelete(String[] ids) throws ApiException;
}
